package com.zlt.bkparking.mapper;

import com.zlt.bkparking.entity.UserCouponRecord;
import com.zlt.bkparking.entity.UserCouponRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserCouponRecordMapper {
    long countByExample(UserCouponRecordExample example);

    int deleteByExample(UserCouponRecordExample example);

    int deleteByPrimaryKey(Long couponUserId);

    int insert(UserCouponRecord record);

    int insertSelective(UserCouponRecord record);

    List<UserCouponRecord> selectByExample(UserCouponRecordExample example);

    UserCouponRecord selectByPrimaryKey(Long couponUserId);

    int updateByExampleSelective(@Param("record") UserCouponRecord record, @Param("example") UserCouponRecordExample example);

    int updateByExample(@Param("record") UserCouponRecord record, @Param("example") UserCouponRecordExample example);

    int updateByPrimaryKeySelective(UserCouponRecord record);

    int updateByPrimaryKey(UserCouponRecord record);
}